<div id="pagination-digg">
    

        <!-- First page link -->
        <?php if (isset($this->previous)): ?>
              <a href="<?php echo $this->url(array('page' => $this->first)); ?>">Start</a>
        <?php else: ?>
                <span class="previous-off">Start</span>
        <?php endif; ?>

        <!-- Previous page link -->

        <?php if (isset($this->previous)): ?>
              <a href="<?php echo $this->url(array('page' => $this->previous)); ?>">&lt; Previous</a>
        <?php else: ?>
            <span class="previous-off">&lt; Previous</span>
        <?php endif; ?>
        <!-- Numbered page links -->
        <?php foreach ($this->pagesInRange as $page): ?>
            <?php if ($page != $this->current): ?>
                <span><a href="<?php echo $this->url(array('page' => $page)); ?>"><?php echo $page; ?></a></span>
            <?php else: ?>
                <span class="active"><?php echo $page; ?></span>
            <?php endif; ?>
        <?php endforeach; ?>
        <!-- Next page link -->
        <?php if (isset($this->next)): ?>
              <span class="next"><a href="<?php echo $this->url(array('page' => $this->next)); ?>">Next &gt;</a></span>
        <?php else: ?>
            <span class="previous-off">Next &gt;</span>
        <?php endif; ?>
        <!-- Last page link -->
        <?php if (isset($this->next)): ?>
              <span class="next"><a href="<?php echo $this->url(array('page' => $this->last)); ?>">End</a></span>
        <?php else: ?>
            <span class="previous-off">End</span>
        <?php endif; ?>
        <span class="page_stat">Page <?php echo $this->current; ?> of <?php echo $this->last; ?></span>

 </div>